/**
 * @Title: SysOperation.java 
 * @Description: TODO
 * @author <a href="mailto:psammead@126.com">Psammead</a>
 * @date 2011-7-14 下午08:34:55 
 * @version 1.0
 * Copyright 2011 by Psammead
 */
package com.psammead.dms.system.sercurity.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.psammead.dms.common.core.bo.AbstractBaseBO;

/**
 * @title: 操作定义实体类
 * @ClassName: SysOperation
 * @Description: TODO
 * @author <a href="mailto:psammead@126.com">psammead</a>
 * @version 1.0
 * @date 2011-7-14
 */
@Entity(name="SysOperation")
@Table(name="tb_sys_oper")
public class SysOperation extends AbstractBaseBO implements Serializable {


	/**
	 * @Fields serialVersionUID
	 */
	private static final long serialVersionUID = -8900181349865911180L;
	private long id;
	private String name;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name="oper_id")
	@Override
	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}
	@Column(name="oper_name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}



}
